package cn.zjyj.module.zjyj.controller.admin.deviceinstanceacceptancerecord.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备实例验收单分页 Request VO")
@Data
public class DeviceInstanceAcceptanceRecordPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "设备id", example = "219")
    private Long deviceId;

    @Schema(description = "设备实例id", example = "2926")
    private Long instanceId;

    @Schema(description = "验收日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] acceptanceDate;

    @Schema(description = "验收人员id", example = "18618")
    private Long acceptancePersonId;

    @Schema(description = "验收结果（0:通过，1:不通过）")
    private Integer acceptanceResult;

    @Schema(description = "验收备注", example = "你说的对")
    private String acceptanceRemark;

}